<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
	<h:form>
	<table width="204" border="0" align="center" cellpadding="0" cellspacing="0">
		<h:outputText rendered="#{acessoUsuarioPermissaoHandler.naoLogado}">
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><h:commandLink action='#{acessoUsuarioHandler.telaLogin}' title="Login de acesso a Intranet">Login</h:commandLink></strong></td>
			</tr>
		</h:outputText>
		
		<h:outputText rendered="#{acessoUsuarioPermissaoHandler.logado}">
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><a href="#" title="Manter Anuidades">Anuidades</a></strong></td>
			</tr>
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><h:commandLink action='#{acessoUsuarioPermissaoHandler.telaAreaAtuacaoManter}' title="Manter Áreas de Atuação">Áreas de Atuação</h:commandLink></strong></td>
			</tr>
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><h:commandLink action='#{acessoUsuarioPermissaoHandler.telaArtigoManter}' title="Autorizar Publicação de Artigo">Artigos</h:commandLink></strong></td>
			</tr>
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><h:commandLink action='#{acessoUsuarioPermissaoHandler.telaAssociadoManter}' title="Manter Associados">Associados</h:commandLink></strong></td>
			</tr>
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><h:commandLink action='#{acessoUsuarioPermissaoHandler.telaEventoManter}' title="Manter Eventos e Registrar Participação">Eventos</h:commandLink></strong></td>
			</tr>
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><a href="#" title="Manter Instituição">Instituições</a></strong></td>
			</tr>
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><a href="#" title="Autorizar Publicação de Notícias">Notícias</a></strong></td>
			</tr>
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><a href="#" title="Manter Pacientes">Pacientes</a></strong></td>
			</tr>
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><a href="#" title="Autorizar Acesso a Oportunidades">Oportunidades</a></strong></td>
			</tr>
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><a href="#" title="Manter Produtos">Produtos</a></strong></td>
			</tr>
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><a href="#" title="Manter Grupos e Permissões de Acesso">Usuários</a></strong></td>
			</tr>
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><h:commandLink action='#{acessoUsuarioPermissaoHandler.telaMenuRelatorio}' title="Menu de Relatórios">Relatórios</h:commandLink></strong></td>
			</tr>
			<tr>
				<td id="tdBotao"><h:graphicImage library="imagens" name="spacer.gif" width="27" height="1" />
				<strong><h:commandLink action='#{acessoUsuarioHandler.logout}' title="Encerrar conexão">Logout</h:commandLink></strong></td>
			</tr>
			<tr>
				<td><h:messages style="color: red" /></td>
			</tr>
		</h:outputText>
		<tr>
			<td><h:graphicImage library="imagens" name="spacer.gif" width="1" height="27" /></td>
		</tr>
	</table>
	</h:form>
</ui:composition>
</html>
